virtualisation.oci-containers.containers.<name>.environment

Environment variables to set for this container.

Type
attribute set of string
Default
{ }
Example
{
  DATABASE_HOST = "db.example.com";
  DATABASE_PORT = "3306";
}
Declared
<nixpkgs/nixos/modules/virtualisation/oci-containers.nix>